package com.gyg.service;

import com.gyg.entity.Blog;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * InnoDB free: 11264 kB 服务类
 * </p>
 *
 * @author 关注公众号：码猿编程日记
 * @since 2021-09-21
 */
public interface IBlogService  {

    List<Blog> list();

    Blog  getOne(Long id);

    Integer save(Blog blog);

    Integer update(Blog blog);

    Integer delete(Long id);

    Integer blogCount();
}
